Q3Mesh_GetFacePlaneEquation
You can use theQ3Mesh_GetFacePlaneEquation
function to determine the plane equation of a face of a mesh.
TQ3Status Q3Mesh_GetFacePlaneEquation ( TQ3GeometryObject mesh, TQ3MeshFace face, TQ3PlaneEquation *planeEquation);
mesh
- A mesh.
face
- A mesh face.
planeEquation
- On exit, the plane equation of the plane spanned by the vertices of the specified mesh face.
DESCRIPTION
TheQ3Mesh_GetFacePlaneEquation
function returns, in theplaneEquation
parameter, the plane equation of the plane spanned by the vertices of the mesh face specified by themesh
andface
parameters. If the vertices of the mesh face do not all lie in one plane, the information returned in theplaneEquation
parameter is only an approximation.